package cc.lj.internal.merchant.infrastructure.repository;

import cc.lj.internal.merchant.domain.brand.repository.IMerchantBrandRepository;
import cc.lj.internal.merchant.infrastructure.po.MerchantBrandPO;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * 商户品牌表　仓储实现
 * @author liangxifeng
 * @date 2022-07-05
 */
@Repository("merchantBrandRespository")
public class MerchantBrandRespository implements IMerchantBrandRepository {
    @Resource(name = "merchantBrandMysqlRespository")
    private IMerchantBrandRepository brandRepository;

    @Override
    public MerchantBrandPO getById(Integer id) {
        return brandRepository.getById(id);
    }
}
